package com.leyou.common.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import sun.applet.resources.MsgAppletViewer;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum  ExceptionEnum {
    PRICE_CANNOT_BE_NULL(400,"价格不能为空"),
    CATEGORY_NOT_FOUND(404,"商品分类为空"),
    BRAND_NOT_FOUND(400,"品牌为空"),
    BRAND_SAVE_ERROR(401, "新增品牌失败"),
    UPLOAD_FILE_ERROR(402,"上传文件失败"),
    INVALID_FILE_TYPE(403,"无效的文件类型")

    ;
    private  int code;
    private  String msg;
}
